package com.village.friend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.village.friend.dto.request.ActivityListDto;
import com.village.friend.dto.response.ActivityListResDto;
import com.village.friend.entity.Activity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yl
 * @since 2021-08-13
 */
public interface ActivityService extends IService<Activity> {

    List<Activity> list(Integer createUserId, Integer joinUserId, Integer reqUserId, Integer type, Integer gender, String city, Double latitude, Double longitude, Integer limit, Integer offset);

    Integer listCount(Integer createUserId, Integer joinUserId, Integer reqUserId, Integer type, Integer gender, String city);

    Boolean updateStatus(Integer id, Integer status);

    Integer getActivityCountToMonth(Integer userId);
}
